package com.hualude.roadsign.service;

import com.hualude.roadsign.dto.*;

import java.util.List;

/**
 * Created by pjn on 2017/3/3.
 */
public interface NoticeAddService {

    /**
     * @Description: 添加公告
     * @Author: pan-jianan
     * @Date: 2017/4/19 21:01
     */
    public String addNotice(Integer createUserId, String noticeTitle, String noticeContext, String orgIds) throws Exception;

    /**
     * @Description:  datatable
     * @Author: pan-jianan
     * @Date: 2017/4/19 21:12
     */
    public DTResponseDto getNoticesended4DT(DTRequestDto dtRequestDto) throws Exception;


    /**
     * @Description: 获取被发送的公司名单
     * @Author: pan-jianan
     * @Date: 2017/4/19 21:42
     */
    public List<OrgDto4Notice> getSelectNoticeSendedOrg(Integer noticeId) throws Exception;

    /**
     * @Description: 删除公告
     * @Author: pan-jianan
     * @Date: 2017/4/19 21:42
     */
    public Integer deleteNotice(Integer userNoticeId) throws Exception;

    /**
     * @Description: 删除选中公告
     * @Author: pan-jianan
     * @Date: 2017/4/19 21:42
     */
    public Integer deleteSelectNotice(String noticeIds) throws Exception;


    /**
     * @Description: 获取公司信息4notice添加对象
     * @Author: pan-jianan
     * @Date: 2017/4/19 21:43
     */
    public List<OrgDto4Notice> getOrgInfo4Notice() throws Exception;

    /**
     * @Description: Android 获取公告
     * @Author: pan-jianan
     * @Date: 2017/4/19 21:46
     */
    public List<NoticeListDto> getNoticeByUserId(Integer userId, Integer mCount, Integer mySize) throws Exception;

}
